LOCK
UNLOCK

Syntax: LOCK file,code$,code
   and: UNLOCK file,code$,code
Location: CRYPTAGE

The LOCK command encodes the given file (the full filename must be stated) using two codes, a string and a number, for security.

Code$ can be any string and the code number (an integer) must range between 0 and 32767.

The command UNLOCK takes the encrypted file and removes the encryption.

Decoding with UNLOCK is only possible if both codes are known, so do not forget them otherwise the file will be lost.

Example:
LOCK ram1_secret_txt,"Phew",7241
